xen/arm: smpboot: drop unneeded code in start_secondary
authorPeng Fan <van.freenix@gmail.com>
Thu, 19 May 2016 09:22:07 +0000 (17:22 +0800)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 17 Jun 2016 09:22:16 +0000 (10:22 +0100)
commitd10133480c497695e98b11b3401de6ec118bac33
tree827bf156e929967b4c95817f7150c44f56b3ed24
parente425f836e0655ef94fc2ce0c51a245eee5c83448
xen/arm: smpboot: drop unneeded code in start_secondary

CPU0 boots up secondary CPUs one by one. Before booting
one secondary CPU, CPU0 will assign hwid to smp_up_cpu
and flush cache. After a secondary CPU boots up,
CPU0 will assign MPIDR_INVALID to smp_up_cpu and flush
cache.

There is no need for secondary CPUs to assign MPIDR_INVALID
to smp_up_cpu. So, drop it.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/smpboot.c